import React, { PropTypes } from 'react';
import { Router, Route, IndexRoute, Link } from 'dva/router';
import IndexPage from './routes/IndexPage';
import Index from './routes/Index';
import Demo from './routes/Demo';
import MemberSelf from './routes/MemberSelf';
export default function({ history }) {
  return (
    <Router history={history}>
      <Route path="/" component={Index} />
      <Route path="/demo" component={Demo} />
      <Route path="/memberSelf" component={MemberSelf} />
    </Router>
  );
};
